package com.snail.cloud.service;

import com.snail.cloud.model.BasePageInfo;
import com.snail.cloud.model.IotUser;
import com.snail.cloud.model.ResultData;
import com.snail.cloud.model.vo.UserInsertVo;
import com.snail.cloud.model.vo.UserUpdateVo;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * @author MR.LHL
 * @date 2024/2/26
 */
public interface UserService extends UserDetailsService {

    public ResultData userAdd(UserInsertVo user);

    ResultData passwordUpdate(UserUpdateVo user, String token);

    ResultData passwordForget(UserInsertVo user);

    ResultData getUserPage(BasePageInfo info);


}
